<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,Chrome=1" />
    <title>eachgo后台登陆</title>
    <link rel="stylesheet" type="text/css" href="{$Think.const.ADMIN_CSS_URL}/bootstrap.min.css">
    <link rel="stylesheet" type="text/css" href="{$Think.const.ADMIN_CSS_URL}/css.css">
    <link rel="stylesheet" type="text/css" href="{$Think.const.ADMIN_CSS_URL}/font-awesome.min.css">
    <!-- [if IE 7]>
    <link rel="stylesheet" type="text/css" href="{$Think.const.ADMIN_CSS_URL}/font-awesome-ie7.min.css">
    <!-- [endif]-->

    <script src="{$Think.const.ADMIN_JS_URL}/jquery-2.1.4.min.js"></script>
    <script src="{$Think.const.ADMIN_JS_URL}/bootstrap.min.js"></script>
    <script src="{$Think.const.ADMIN_JS_URL}/ajax.js"></script>
    <!--<script src="{$Think.const.ADMIN_JS_URL}/js.js"></script>  <&#45;&#45; 这个js文件必须放到最后 &ndash;&gt;-->
</head>
<body>

<!-- [if lt IE 9]>
<script src="{$Think.const.ADMIN_JS_URL}/html5shiv.min.js"></script>
<script src="{$Think.const.ADMIN_JS_URL}/respond.min.js"></script>
<!-- [endif] -->

<div class="container">
    <!--header-div start-->
    <div class="row" style="margin: 0">
        <div class="col-sm-2 col-lg-2" style="padding:0;">
            <img src="{$Think.const.ADMIN_IMG_URL}/logo.png" style="height:58px;width:auto;margin: 30px 30px;">
        </div>
        <div class="col-sm-2 col-lg-2">
            <h3 style="margin: 60px 0 0 0">后台管理系统</h3>
        </div>
    </div>
    <!--header-div end-->

    <!--body-div start-->
    <div class="row" style="margin: 0">
        <div class="col-sm-12 col-lg-12">
            <div class="col-sm-7 col-lg-7">
                <p>我们是一个朝气的企业！</p>
                <p>热心为客户解答！</p>
                <p>让客户放心的消费！</p>
                <p>做企业就是做良心！</p>
            </div>
            <div class="col-sm-5 sol-lg-5">
                <div style="background-color: #FFF;width: 350px; height: 350px;border: 1px solid rgb(126,122,122); margin: 30px 0;">
                    <div role="form">
                        <h3 style="margin: 30px 50px;">账号登录</h3>
                        <form class="form-horizontal" action="__SELF__" method="post" name="login">
                            <div class="input-group" style="margin: 30px 80px 0 80px;width: 60%;">
                                <div class="input-group-addon gray" style="border-radius: 0;border-right: none;"><i class="icon-user"></i></div>
                                <input type="text" name="LoginName" class="form-control gray" maxlength="11" autocomplete="off" id="phone" placeholder="手机号码">
                            </div>
                            <div id="no-user" class="h6 error-massage"></div>
                            <div class="input-group" style="margin: 20px 80px 0 80px;width: 60%;">
                                <div class="input-group-addon gray" style="border-radius: 0;border-right: none;"><i class="icon-lock"></i></div>
                                <input type="password" name="userPassword" class="form-control gray" id="password" maxlength="20" autocomplete="off" placeholder="密码">
                            </div>
                            <div id="psd-error" class="h6 error-massage"></div>
                            <div class="text-center" style="margin: 20px 80px 0 80px;width: 60%;">
                                <input class="btn btn-lg btn-block login-btn" type="button" id="user-login" value="登录">
                            </div>
                            <a href="#" class="pull-right forgetPSD">忘记密码？</a>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <!--body-div end-->

    <!--footer-div start-->
    <div class="row"  style="margin: 0">
        <div class="col-sm-12 col-lg-12 text-center" style="padding: 0;">
            <h3>Powered by TNT</h3>
            <span class="h3 pull-right">ID:12323434</span>
        </div>
    </div>
    <!--footer-div end-->
</div>

<script type="text/javascript">
    document.onkeydown = function(e){
        if((e.keyCode || e.which) == 13){
            var focusinput=document.getElementById("user-login");
            focusinput.click();//获取焦点
        }
    }
</script>
</body>
</html>